package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: VoiceAppraiseBean
 * @Description: 个人主页语聊评价
 * @Author: ljp
 * @CreateDate: 2018/10/29 14:12
 * @Version: 1.0
 */
public class VoiceAppraiseBean {

    /**
     * code : 200
     * msg : 成功
     * object : {"id":"yuliao333","isNewRecord":false,"count":2,"success":1,"probability":"50%","starCount":8,"eCount":2,"star":4,"list":[{"id":"yuliao333","isNewRecord":false,"count":2,"tagName":"傻白甜"},{"id":"yuliao333","isNewRecord":false,"count":2,"tagName":"才女"},{"id":"yuliao333","isNewRecord":false,"count":2,"tagName":"萌萌哒"}]}
     */

    private int code;
    private String msg;
    private ObjectBean object;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public static class ObjectBean {
        /**
         * id : yuliao333
         * isNewRecord : false
         * count : 2
         * success : 1
         * probability : 50%
         * starCount : 8
         * eCount : 2
         * star : 4
         * list : [{"id":"yuliao333","isNewRecord":false,"count":2,"tagName":"傻白甜"},{"id":"yuliao333","isNewRecord":false,"count":2,"tagName":"才女"},{"id":"yuliao333","isNewRecord":false,"count":2,"tagName":"萌萌哒"}]
         */

        private String id;
        private boolean isNewRecord;
        private int count;// 通话总数量
        private int success;//通话成功数量
        private String probability;//通话成功率
        private int starCount;//星星总数
        private int eCount;//星级个数
        private int star;//平均星数
        private String voiceSign;//状态 1空闲 0离线
        private List<ListBean> list;///评价标签


        public String getVoiceSign() {
            return voiceSign;
        }

        public void setVoiceSign(String voiceSign) {
            this.voiceSign = voiceSign;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getSuccess() {
            return success;
        }

        public void setSuccess(int success) {
            this.success = success;
        }

        public String getProbability() {
            return probability;
        }

        public void setProbability(String probability) {
            this.probability = probability;
        }

        public int getStarCount() {
            return starCount;
        }

        public void setStarCount(int starCount) {
            this.starCount = starCount;
        }

        public int getECount() {
            return eCount;
        }

        public void setECount(int eCount) {
            this.eCount = eCount;
        }

        public int getStar() {
            return star;
        }

        public void setStar(int star) {
            this.star = star;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : yuliao333
             * isNewRecord : false
             * count : 2
             * tagName : 傻白甜
             */

            private String id;
            private boolean isNewRecord;
            private int count;
            private String tagName;//标签名称

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public String getTagName() {
                return tagName;
            }

            public void setTagName(String tagName) {
                this.tagName = tagName;
            }

            @Override
            public String toString() {
                return "ListBean{" +
                        "id='" + id + '\'' +
                        ", isNewRecord=" + isNewRecord +
                        ", count=" + count +
                        ", tagName='" + tagName + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "ObjectBean{" +
                    "id='" + id + '\'' +
                    ", isNewRecord=" + isNewRecord +
                    ", count=" + count +
                    ", success=" + success +
                    ", probability='" + probability + '\'' +
                    ", starCount=" + starCount +
                    ", eCount=" + eCount +
                    ", star=" + star +
                    ", voiceSign='" + voiceSign + '\'' +
                    ", list=" + list +
                    '}';
        }
    }
}
